/**
 * 
 */
package org.mips.Sirius.components;

import java.util.Date;

/**
 * Collect real-time informations about arrival and departure of a vehicle at a
 * stop
 * 
 * @author Alessandro
 * 
 */
public class TimeMonitoring {

	private Date aimedArrivalTime;
	private Date aimedDepartureTime;
	private Date expectedArrivalTime;
	private Date expectedDepartureTime;

	public TimeMonitoring() {
	}

	public TimeMonitoring(Date aimedArrivalTime, Date aimedDepartureTime,
			Date expectedArrivalTime, Date expectedDepartureTime) {
		this.aimedArrivalTime = aimedArrivalTime;
		this.aimedDepartureTime = aimedDepartureTime;
		this.expectedArrivalTime = expectedArrivalTime;
		this.expectedDepartureTime = expectedDepartureTime;
	}

	public void setAimedArrivalTime(Date aimedArrivalTime) {
		this.aimedArrivalTime = aimedArrivalTime;
	}

	public void setAimedDepartureTime(Date aimedDepartureTime) {
		this.aimedDepartureTime = aimedDepartureTime;
	}

	public void setExpectedArrivalTime(Date expectedArrivalTime) {
		this.expectedArrivalTime = expectedArrivalTime;
	}

	public void setExpectedDepartureTime(Date expectedDepartureTime) {
		this.expectedDepartureTime = expectedDepartureTime;
	}

	public Date getAimedArrivalTime() {
		return aimedArrivalTime;
	}

	public Date getAimedDepartureTime() {
		return aimedDepartureTime;
	}

	public Date getExpectedArrivalTime() {
		return expectedArrivalTime;
	}

	public Date getExpectedDepartureTime() {
		return expectedDepartureTime;
	}

	@Override
	public String toString() {
		return "" + aimedArrivalTime + " " + expectedArrivalTime + " "
				+ aimedDepartureTime + " " + expectedDepartureTime;
	}

}
